'use strict';

/**
 * action 类型
 */

//公用类型
export const kActionError                       = 'kActionError';
export const kCommonIsToasting                  = 'kCommonIsToasting';

//首页
export const kBannerList                        = 'kBannerList';
export const kBannerListReceived                = 'kBannerListReceived';
export const kHomeListArticles                  = 'kHomeListArticles';
export const kHomeListArticlesReceived          = 'kHomeListArticlesReceived';
export const kHomeGridList                      = 'kHomeGridList';
export const kHomeGridListReceived              = 'kHomeGridListReceived';

export const kCommonBannerList                  ='kCommonBannerList';
export const kCommonBannerListReceived          ='kCommonBannerListReceived';

// 用户
export const kUserFromSync                      = 'kUserFromSync'; //同步加载用户数据, 一般从缓存加载
export const kUserRegister                      = 'kUserRegister';
export const kUserRegisterReceived              = 'kUserRegisterReceived';
export const kUserView                          = 'kUserView';
export const kUserLogin                         = 'kUserLogin';
export const kUserLoginReceived                 = 'kUserLoginReceived';
export const kUserLogout                        = 'kUserLogout';
export const kUserLogoutReceived                = 'kUserLogoutReceived';
export const kUserHaoyouList                    = 'kUserHaoyouList';
export const kUserHaoyouListReceived            = 'kUserHaoyouListReceived';

export const kUserQianbao                    = 'kUserQianbao';
export const kUserQianbaoReceived            = 'kUserQianbaoReceived';

export const kUserQianbaoList                    = 'kUserQianbaoList';
export const kUserQianbaoListReceived            = 'kUserQianbaoListReceived';


//商品、商品目录
export const kCategoryListWithProduct           = 'kCategoryListWithProduct';
export const kCategoryListWithProductReceived   = 'kCategoryListWithProductReceived';
export const kGetCategory                       = 'kGetCategory';
export const kGetCategoryReceived       = 'kGetCategoryReceived';
export const kProductView                       = 'kProductView';
export const kProductViewReceived               = 'kProductViewReceived';
export const kProductContentReceived            = 'kProductContentReceived';

//文章
export const kArticleView                       = 'kArticleView';
export const kArticleViewReceived               = 'kArticleViewReceived';

//购物车
export const kAppCartCookieIdFromSync           = 'kAppCartCookieIdFromSync'; //同步加载数据, 一般从缓存加载
export const kCartNumReceived                   = 'kCartNumReceived'; //同步加载数据, 一般从商品详情页
export const kCartNumFromSync                   = 'kCartNumFromSync'; //同步加载数据, 一般从商品详情页
export const kCartView                          = 'kCartView';
export const kCartViewReceived                  = 'kCartViewReceived';
export const kCartAdd                           = 'kCartAdd';
export const kCartAddReceived                   = 'kCartAddReceived';
export const kCartAdjust                   = 'kCartAdjust';
export const kCartItemReceived                   = 'kCartItemReceived';


//预订单
export const kPreorderCreate                    = 'kPreorderCreate';
export const kPreorderCreateReceived            = 'kPreorderCreateReceived';
export const kPreorderIsTurnedToViewFromSync    = 'kPreorderIsTurnedToViewFromSync';
export const kPreorderView                      = 'kPreorderView';
export const kPreorderViewReceived              = 'kPreorderViewReceived';

//订单
export const kOrderCreate                       = 'kOrderCreate';
export const kOrderCreateReceived               = 'kOrderCreateReceived';
export const kOrderIsTurnedToViewFromSync       = 'kOrderIsTurnedToViewFromSync';
export const kOrderView                         = 'kOrderView';
export const kOrderViewReceived                 = 'kOrderViewReceived';
export const kOrderIndex                        = 'kOrderIndex';
export const kOrderIndexReceived                = 'kOrderIndexReceived';
export const kNoticePayResult                   = 'kNoticePayResult';
export const kOrderList                         = 'kOrderList';
export const kOrderListReceived                 = 'kOrderListReceived';
export const kClearOrder                 = 'kClearOrder';


//地址
export const kAddressIsToasting                 = 'kAddressIsToasting';
export const kAddressList                       = 'kAddressList';
export const kAddressListReceived               = 'kAddressListReceived';
export const kAddressCreate                     = 'kAddressCreate';
export const kAddressCreateReceived             = 'kAddressCreateReceived';
export const kAddressDelete                     = 'kAddressDelete';
export const kAddressDeleteReceived             = 'kAddressDeleteReceived';

export const kSubItemsByParentId                = 'kSubItemsByParentId';
export const kSubItemsByParentIdReceived        = 'kSubItemsByParentIdReceived';

//保险
//TaskListPage接口
export const kTaskList                          = 'kTaskList';
export const kTaskListReceived                  = 'kTaskListReceived';

//TaskList2Page接口
export const kTaskList2                         = 'kTaskList2';
export const kTaskList2Received                 = 'kTaskList2Received';


export const kQueryAllProviderTaskList          = 'kQueryAllProviderTaskList';
export const kQueryAllProviderTaskListReceived  = 'kQueryAllProviderTaskListReceived';

export const kQueryUploadImageList              = 'kQueryUploadImageList';
export const kQueryUploadImageListReceived      = 'kQueryUploadImageListReceived';


export const kUploadImage                     = 'kUploadImage';
export const kUploadImageReceived             = 'kUploadImageReceived';




export const kSmsVerifyCode                     = 'kSmsVerifyCode';
export const kSmsVerifyCodeReceived             = 'kSmsVerifyCodeReceived';
export const kFormItemList                      = 'kFormItemList';
export const kFormItemListReceived              = 'kFormItemListReceived';
export const kSubmitFormItemList                = 'kSubmitFormItemList';
export const kSubmitFormItemListReceived        = 'kSubmitFormItemListReceived';
export const kWithdrawList                      = 'kWithdrawList';
export const kWithdrawListReceived              = 'kWithdrawListReceived';
export const kListChexianRates                  = 'kListChexianRates';
export const kListChexianRatesReceived          = 'kListChexianRatesReceived';

export const kNewTaskListReceived          = 'kNewTaskListReceived';

export const kPageIdSync                        = 'kPageIdSync';
export const kGetDomTree                        = 'kGetDomTree';
export const kGetDomTreeReceived                = 'kGetDomTreeReceived';

export const kSetDomTree                        = 'kSetDomTree';
export const kSetDomTreeReceived                = 'kSetDomTreeReceived';
export const kSetDomTreeHeaderReceived          = 'kSetDomTreeHeaderReceived';
export const kSetDomTreeFooterReceived          = 'kSetDomTreeFooterReceived';
export const kSetPageHeaderReceived             = 'kSetPageHeaderReceived';
export const kSetUIScrollable                   = 'kSetUIScrollable';
export const kSetIsLoadingMore                   = 'kSetIsLoadingMore';



//news
export const kGetNewsList    = 'kGetNewsList';
export const kReceiveNewsList = 'kReceiveNewsList';
export const kGetMoreNewsList = 'kGetMoreNewsList';
export const kReceiveMoreNewsList = 'kReceiveMoreNewsList';

export const kFetchRefreshNewsList = 'kFetchRefreshNewsList';
export const kRefreshNewsList = 'kRefreshNewsList'; //刷新接受；



//百度地图  s表示 set，g表示get got
export const sBaiduPoi                     = 'sBaiduPoi';
export const gBaiduPoi                     = 'gBaiduPoi';


